package cn.springmvc.mapper;

import cn.springmvc.model.SysRoleFunction;
import cn.springmvc.model.SysRoleFunctionCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: SysRoleFunctionMapper <br/>
 * Function: 角色-功能-映射. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年6月8日 下午4:31:24 <br/>
 *
 * @author i1093108915@yeah.net
 * @version 
 * @since JDK 1.6
 */
public interface SysRoleFunctionMapper {
    int countByExample(SysRoleFunctionCriteria example);

    int deleteByExample(SysRoleFunctionCriteria example);

    int deleteByPrimaryKey(String sid);

    int insert(SysRoleFunction record);

    int insertSelective(SysRoleFunction record);

    List<SysRoleFunction> selectByExample(SysRoleFunctionCriteria example);

    SysRoleFunction selectByPrimaryKey(String sid);

    int updateByExampleSelective(@Param("record") SysRoleFunction record, @Param("example") SysRoleFunctionCriteria example);

    int updateByExample(@Param("record") SysRoleFunction record, @Param("example") SysRoleFunctionCriteria example);

    int updateByPrimaryKeySelective(SysRoleFunction record);

    int updateByPrimaryKey(SysRoleFunction record);
}